# @File: cli_test.py
# -*- coding: utf-8 -*-
# __author:"super"
# @time:2025/7/23 11:09
import click


# @click.command()
# @click.option("--count", default=1, help="Number of greetings.")
# @click.option("--name", prompt="Your name", help="The person to greet.")
# def hello(count, name):
#     for _ in range(count):
#         click.echo(f"Hello World!{name}")

# @click.option('--verbose', is_flag=True, help='Enable verbose mode')
# @click.option('--size', type=click.IntRange(1, 20), help='Size of something')
# def cli(verbose, size):
#     if verbose:
#         click.echo("Verbose mode is on")
#     click.echo(f"Size is {size}")

# @click.argument('filename')
# def touch(filename):
#     click.echo(f"Creating {filename}")
#
#
# if __name__ == '__main__':
#     touch()

# @click.group()
# def cli():
#     pass
@click.command()
# @click.option('--username', prompt=True, help='用户名')
# def init( username):
#     click.echo(f"用户名是：{username}")
#
# @cli.command()
# @click.option('--debug/--no-debug', default=False)  # 双模式开关选项
# def run( debug):
#     click.echo(f"debug:{debug}")
def styled_output():
    click.secho("Hello World!", fg="yellow",bold=True)

if __name__ == '__main__':
    styled_output()

